package stringmethod;

import java.util.ArrayList;

/**
 * @author げっしょく
 * @date 2021/7/9
 */
public class TestArrylist {
    public static void main(String[] args) {
        ArrayList<String> list = new ArrayList<>();
        list.add("abc");
        list.add("def");
        list.add("ghs");
        int a = list.size();
        for (int i = 0; i < a; i++) {
            System.out.println(list.get(i));
        }
    }

}
